import {createRouter,createWebHashHistory} from 'vue-router'

import BookAn from '@/components/BookAn.vue'          //导入路由
import BookBn from '@/components/BookBn.vue'
import BookCn from '@/components/BookCn.vue'
import BookDn from '@/components/BookDn.vue'
import BookEn from '@/components/BookEn.vue'
import BookFn from '@/components/BookFn.vue'
import BookGn from '@/components/BookGn.vue'
import BookHn from '@/components/BookHn.vue'
import BookIn from '@/components/BookIn.vue'
import BookJn from '@/components/BookJn.vue'
import BookKn from '@/components/BookKn.vue'
import BookLn from '@/components/BookLn.vue'

const router = createRouter({                            //创建路由
    history: createWebHashHistory(),
    routes:[
        {
            path:"/bookan",
            component:BookAn
        },
        {
            path:"/bookbn",
            component:BookBn
        },
        {
            path:"/bookcn",
            component:BookCn
        },
        {
            path:"/bookdn",
            component:BookDn
        },
        {
            path:"/booken",
            component:BookEn
        },
        {
           path:"/bookfn",
           component:BookFn
        },
        {
            path:"/bookgn",
            component:BookGn
         },
         {
            path:"/bookhn",
            component:BookHn
         },
         {
            path:"/bookin",
            component:BookIn
         },
         {
            path:"/bookjn",
            component:BookJn
         },
         {
            path:"/bookkn",
            component:BookKn
         },
         {
            path:"/bookln",
            component:BookLn
         },
        
    ]
})




export default router